export const MENU_CONFIG = [
    // 集群管理
    {
        title: "集群资源",
        index: "/cluster",
        icon: "iconfont icon-cluster",
        items: [
            {
                index: "/cluster/list",
                title: "查看集群"
            },
            {
                index: "/node/list",
                title: "查看节点"
            },
            {
                index: "/namespace/list",
                title: "命名空间"
            },


        ]
    },
    // 调度资源 3级菜单
    {
        title: "调度资源",
        index: "scheduling",
        icon: "iconfont icon-tiaodu",
        subMenu: [
            {
                title: "Pod",
                index: "pod",
                icon: "iconfont icon-pod",
                items: [
                    {
                        index: "/pod/list",
                        title: "查看"
                    }
                ]
            },
            {
                title: "Deployment",
                index: "deployment",
                icon: "iconfont icon-deployment",
                items: [
                    {
                        index: "/deployment/list",
                        title: "查看"
                    },
                    {
                        index: "/deployment/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "StatefulSet",
                index: "statefulset",
                icon: "iconfont icon-statefulset",
                items: [
                    {
                        index: "/statefulset/list",
                        title: "查看"
                    },
                    {
                        index: "/statefulset/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "DaemonSet",
                index: "daemonset",
                icon: "iconfont icon-daemonset",
                items: [
                    {
                        index: "/daemonset/list",
                        title: "查看"
                    },
                    {
                        index: "/daemonset/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "CronJob",
                index: "cronjob",
                icon: "iconfont icon-cronjob",
                items: [
                    {
                        index: "/cronjob/list",
                        title: "查看"
                    },
                    {
                        index: "/cronjob/create",
                        title: "创建"
                    }
                ]
            },
        ]
    },
    // 服务发布
    {
        title: "服务发布",
        index: "publishing",
        icon: "iconfont icon-wangluo",
        subMenu: [
            {
                title: "EndPoint",
                index: "endpoint",
                icon: "iconfont icon-Endpoint",
                items: [
                    {
                        index: "/endpoint/list",
                        title: "查看"
                    },
                    {
                        index: "/endpoint/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "Service",
                index: "service",
                icon: "iconfont icon-service",
                items: [
                    {
                        index: "/service/list",
                        title: "查看"
                    },
                    {
                        index: "/service/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "Ingress",
                index: "ingress",
                icon: "iconfont icon-ingress",
                items: [
                    {
                        index: "/ingress/list",
                        title: "查看"
                    },
                    {
                        index: "/ingress/create",
                        title: "创建"
                    }
                ]
            }
        ]
    },
    // 配置管理
    {
        title: "配置管理",
        index: "configuration",
        icon: "iconfont icon-peizhi-yunweipeizhi",
        subMenu: [
            {
                title: "ConfigMap",
                index: "configmap",
                icon: "iconfont icon-configmap",
                items: [
                    {
                        index: "/configmap/list",
                        title: "查看"
                    },
                    {
                        index: "/configmap/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "Secret",
                index: "secret",
                icon: "iconfont icon-secret",
                items: [
                    {
                        index: "/secret/list",
                        title: "查看"
                    },
                    {
                        index: "/secret/create",
                        title: "创建"
                    }
                ]
            },
        ]
    },
    // 存储管理
    {
        title: "存储管理",
        index: "storage",
        icon: "iconfont icon-yuncunchu",
        subMenu: [
            {
                title: "PV",
                index: "pv",
                icon: "iconfont icon-yuncunchu",
                items: [
                    {
                        index: "/pv/list",
                        title: "查看"
                    },
                    {
                        index: "/pv/create",
                        title: "创建"
                    }
                ]
            },
            {
                title: "PVC",
                index: "pvc",
                icon: "iconfont icon-yuncunchu",
                items: [
                    {
                        index: "/pvc/list",
                        title: "查看"
                    },
                    {
                        index: "/pvc/create",
                        title: "创建"
                    }
                ]
            },
        ]
    },
    // 实用工具
    {
        title: "实用工具",
        index: "/tools",
        icon: "iconfont icon-shiyonggongju",
        items: [
            {
                index: "/tools/yaml",
                title: "通过YAML创建或更新资源"
            },
            {
                index: "/tools/test",
                title: "ws测试工具"
            },
        ]
    }


    // {
    //     title: "存储管理",
    //     index: "storage",
    //     icon: "iconfont icon-yuncunchu",
    //     items: [
    //         {
    //             index: "/storage/create",
    //             title: "创建"
    //         },
    //         {
    //             index: "/storage/list",
    //             title: "查看"
    //         }
    //     ]
    // },
    // {
    //     title: "实用工具",
    //     index: "tools",
    //     icon: "iconfont icon-shiyonggongju",
    //     items: [
    //         {
    //             index: "/tools/create",
    //             title: "创建"
    //         },
    //         {
    //             index: "/tools/list",
    //             title: "查看"
    //         }
    //     ]
    // },
    //订单管理
    // {
    //     title: "订单管理",
    //     index: "/order",
    //     icon: "iconfont icon-dingdanguanli",
    //     subMenu: [
    //         {
    //             title: "水产品",
    //             index: "/order/aquatic",
    //             icon: "iconfont icon-shuichanpin",
    //             items: [
    //                 {
    //                     index: "/order/aquatic/list",
    //                     title: "查看列表"
    //                 },
    //             ]
    //         },
    //         {
    //             title: "电子产品",
    //             index: "/order/electronic",
    //             icon: "iconfont icon-dianzichanpin1-copy",
    //             items: [
    //                 {
    //                     index: "/order/electronic/list",
    //                     title: "查看列表"
    //                 },
    //             ]
    //         }
    //     ]
    // }
]